export const SEARCH_PARAMS = [
  { key: 'name', tag: 'a-input', conf: { label: '名称', placeholder: '请输入流程名称' } },
  { key: 'code', tag: 'a-input', conf: { label: '编码', placeholder: '请输入流程编码' } },
  { key: 'version', tag: 'a-input-number', conf: { label: '版本' } },
];

export const CREATE_FIELDS = [
  { key: 'name', tag: 'a-input', conf: { label: '名称', placeholder: '请输入流程名称', allowClear: true } },
  { key: 'code', tag: 'a-input', conf: { label: '编码', placeholder: '请输入流程编码' } },
  { key: 'version', tag: 'a-input-number', conf: { label: '版本' } },
  { key: 'dataQueryApi', tag: 'a-input', conf: { label: '业务数据查询接口', placeholder: '请输入业务数据查询接口', allowClear: true } },
  { key: 'dataSaveApi', tag: 'a-input', conf: { label: '业务数据保存接口', placeholder: '请输入业务数据保存接口', allowClear: true } },
];
export const UPDATE_FIELDS = [
  { key: 'name', tag: 'a-input', conf: { label: '名称', placeholder: '请输入流程名称', allowClear: true } },
  { key: 'code', tag: 'a-input', conf: { label: '编码', placeholder: '请输入流程编码', disabled: true } },
  { key: 'version', tag: 'a-input-number', conf: { label: '版本', disabled: true } },
  { key: 'dataQueryApi', tag: 'a-input', conf: { label: '业务数据查询接口', placeholder: '请输入业务数据查询接口', allowClear: true } },
  { key: 'dataSaveApi', tag: 'a-input', conf: { label: '业务数据保存接口', placeholder: '请输入业务数据保存接口', allowClear: true } },
];
